package com.self.reflect;

public class VolatileTest {

    private volatile int currVal;

    public static void main(String[] args) {

        VolatileTest test = new VolatileTest();
        test.currVal = 100;
        System.out.println(test.currVal);

    }
}
